@import '../../styles/index.less';

* {
  margin: 0;
  padding: 0;
}

html, body {
  font-size: 14px;
  width: 100%;
  height: 100%;
  font-family: "Hiragino Sans GB", "PingFang SC", "Arial", sans-serif !important;
  word-break: break-all;
}

ol, ul, li {
  list-style: none;
  margin-bottom: 0 !important
}

a {
  text-decoration: none;
}

/** 左右浮动 **/
.f-l {
  float: left;
}

.f-r {
  float: right;
}

/* 鼠标手势 */
.pointer {
  cursor: pointer;
}

/*分页按钮颜色*/
//-------------------------清除浮动 start-------------------------------
.over-flow {
  overflow: auto;
  zoom: 1;
}

.clearfix:after {
  content: "";
  height: 0;
  line-height: 0;
  display: block;
  visibility: hidden;
  clear: both;
}

.clearfix {
  zoom: 1;
}

.clearfloat:before, .clearfloat:after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  clear: both;
}

.clearfloat {
  zoom: 1;
}

//-------------------------清除浮动 end-------------------------------

//-------------------------有tab标签页的页面 start--------------------------
.tabWrap {
  padding: 0;
  .el-tabs--card > .el-tabs__header .el-tabs__nav {
    border-top: 0;
    border-left: 0;
    border-radius: 0;
  }
  .tabContentWrap {
    padding: 0 27px;
    .topAll {
      justify-content: flex-end;
      padding: 0px 0 18px;
      height: auto;
    }
  }
  
}
//-------------------------有tab标签页的页面 end--------------------------

//-------------------------上传按钮隐藏它的样式 start----------------------------
.uploadWrap {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  .el-upload,
  .el-button {
    width: 100%;
    height: 100%;
    min-height: 25px;
  }
}
//-------------------------上传按钮隐藏它的样式 end----------------------------

//-------------------------列表展示顶部统一搜索栏样式-input start cmg-------------------------------
.search_common {
  .el-input{
    width: 260px!important;
  }
  input {
    padding-left: 25px;
    width: 255px;
    height: 35px;
    outline: none;
    border: 1px solid #eaedf1;
    margin-right: 5px;
    border-radius: 23px;
    border: 1px solid rgba(221,221,221,1);
    input::-webkit-input-placeholder {
      color: #d2d2d2;
    }
  }
  button {
    position: relative;
    cursor: pointer;
    border: 1px solid #eaedf1;
    border-left: none;
    background-color: @themeColor;
    outline: none;
    color: #fff;
  }
  .more-dropdown{
    margin-right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #2698ff;
  }
  span{
    display: inline-block;
  }
  .el-icon-search:before{
    font-size: 20px;
    line-height: 35px;
    color: @themeColor;
  }
  .el-input .el-input__clear{
    font-size: 20px;
  }
  .el-icon-circle-close:before{
    line-height: 35px;
  }
  .el-input--prefix .el-input__inner{
    font-size: 16px;
    line-height: 35px;
  }
}

//-------------------------搜索栏-input end cmg-------------------------------


//-------------------------table表格 start cmg-------------------------------
.subtable_new {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  position: relative;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: 100%;
  font-size: 14px;
  color: #606266;
  .listName {
    color: #0050B3;
    cursor: pointer;
  }
  .isOdd:hover {
    background-color: #FAF7FA !important;
  }
  tr:hover {
    background: #FAF7FA;
  }
  .child:hover{
    background: #FAF7FA!important;
  }
  td {
    -webkit-transition: background-color 0.25s ease;
    transition: background-color 0.25s ease;
    text-align: center !important;
    /*border-bottom: 1px solid #ebeef5;*/
    /*border-top: 1px solid #ebeef5;*/
    padding: 10px 0;
    min-width: 0;
    box-sizing: border-box;
    text-overflow: ellipsis;
    vertical-align: middle;
    position: relative;
    text-align: center;
  }
  thead {
    background-color: #F2F8FF !important;
    font-family:Source Han Sans CN;
    font-weight:400;
    tr:hover {
      background: #F2F8FF;
    }
  }
  .inline_view{
    color: #308DD2;
  }
  .inline_update{
    color: #7ED7C5;
  }
  .inline_del{
    color: #E06477;
  }
}

.subtable_new tr.child td {
  padding: 5px 0;
  border: none;
  font-size: 12px;
}

.subtable_new td div {
  box-sizing: border-box;
  padding-right: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.subtable_new td div.cell {
  padding-left: 10px;
  padding-right: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-all;
  line-height: 23px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subtable_new tbody td div.cell {
  line-height: 32px;
}

.subtable_new td div.cell.el-tooltip {
  white-space: nowrap;
  /* min-width: 50px; */
}
//-------------------------table表格 end cmg-------------------------------

//-------------------------element ui 分页样式覆盖 start cmg-------------------------------
.el-pagination__total{
  line-height: 35px!important;
}
.el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li{
  min-height: 35px!important;
  min-width: 35px!important;
}
.el-pager li{
  line-height: 35px!important;
}
.el-pagination__jump{
  line-height: 35px!important;
}
//-------------------------element ui 分页样式覆盖 end cmg-------------------------------